package com.twu.biblioteca;

import com.twu.book.BookList;

import java.io.PrintStream;

/**
 * Created with IntelliJ IDEA.
 * User: root
 * Date: 6/28/13
 * Time: 2:05 AM
 * To change this template use File | Settings | File Templates.
 */
public class CommandListAllBooks extends Command {
    @Override
    public CommandType type() {
        return CommandType.CMD_LISTALL;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void execute(String param, PrintStream outputStream) {
        BookList.listall(outputStream);    //To change body of implemented methods use File | Settings | File Templates.
    }

    public CommandListAllBooks() {
    }
}
